package com.huixuebao.api.service;


import com.huixuebao.api.dto.MechanismDTO;
import com.huixuebao.api.entity.MechanismEntity;
import com.huixuebao.api.entity.MerchantBasicsEntity;
import com.huixuebao.common.bean.ApiResult;

import java.util.List;

public interface MechanismService {

    /**
     * 查询没有xy坐标的机构
     *
     * @return
     */
    ApiResult<List<MechanismDTO>> getMerchantWithoutAxis();

    /**
     * 设置机构xy坐标
     * @param mechanismDTO
     * @return
     */
    ApiResult setMerchantAxis(MechanismDTO mechanismDTO);

    ApiResult setMerchanismFromS(List<MerchantBasicsEntity> mbeList);
}